package com.zgjkhis.modules.charges.service.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @Author yxl 退费
 * @Description
 * @Date 2021/7/13 16:15
 **/
@Data
@NoArgsConstructor
public class PrescriptionRefundCriteria {

    @ApiModelProperty(value = "处方详情id",required = true)
    @NotNull(message = "处方详情id不能为空")
    private String infoDrugId;
    @ApiModelProperty(value = "退款个数",required = true)
    @NotNull(message = "退款个数不能为空")
    @Min(value = 1, message = "退款个数至少为1")
    private Integer refundNum;

}
